home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d27 / gu11.arc / BKUP.BAT < prev    next >
DOS Batch File  |  1990-01-05  |  920b  |  42 lines

  1. echo off
  2. rem BKUP.BAT - Copy all changed files
  3. rem Written by Dave Grund, December 12, 1989
  4. echo Copying all changed files for backup
  5. echo ╔══════════════════════════════════════╗
  6. echo ║ Put the ChkVol directory backup disk ║
  7. echo ║             in drive A               ║
  8. echo ╚══════════════════════════════════════╝
  9. Pause
  10. ChkVol A ChkVol10 > NUL
  11. If errorlevel 5 goto RC5
  12. If errorlevel 4 goto RC4
  13. If errorlevel 3 goto RC3
  14. If errorlevel 2 goto RC2
  15. If errorlevel 1 goto RC1
  16. Erase \Develop\ChkVol\*.Bak
  17. attrib -a *.tpu
  18. XCopy \Develop\ChkVol\*.* A: /M
  19. Edir A:
  20. goto endit
  21.  
  22. :RC1
  23. Echo Volume IDs do not match!
  24. goto endit
  25.  
  26. :RC2
  27. Echo No Volume ID on backup disk!
  28. goto endit
  29.  
  30. :RC3
  31. Echo Cannot read diskette!
  32. goto endit
  33.  
  34. :RC4
  35. Echo Invalid command line parameters!
  36. goto endit
  37.  
  38. :RC5
  39. Echo Not enough command line parameters!
  40. goto endit
  41.  
  42. :Endit